package com.zzw.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzw.springboot.entity.RoleMenu;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author zzw2000
 * @Date 2022年06月02日 10:18
 * @Description 描述
 */
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    @Select("SELECT menu_id FROM sys_role_menu WHERE role_id=#{roleId}")
    List<Integer> selectByRoleId(Integer roleId);
}
